-- GENERATED SPELL FOR [Hukku's Succubus] --


function spell0_8657(pUnit, Event) --@Lash of Pain,n/a--
pUnit:FullCastSpellOnTarget(11779,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8657', 0, 1)
end

function spell1_8657(pUnit, Event) --@Seduction,n/a--
pUnit:FullCastSpellOnTarget(6358,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8657', 16500, 1)
end

function Sorts_8657(pUnit, Event)
local choix_sorts_8657 = math.random(0, 1)
if choix_sorts_8657 == 0 then
pUnit:RegisterEvent('spell0_8657', 1, 1)
end
if choix_sorts_8657 == 1 then
pUnit:RegisterEvent('spell1_8657', 1, 1)
end
end

function mob8657_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8657', math.random(1500, 3000), 1)
end

function mob8657_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8657_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8657_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8657, 1, 'mob8657_Action')
RegisterUnitEvent(8657, 2, 'mob8657_Leave')
RegisterUnitEvent(8657, 3, 'mob8657_Kill')
RegisterUnitEvent(8657, 4, 'mob8657_Die')
